//#define __DEBUG__
// by Xeno
#define THIS_FILE "fn_setgstate.sqf"
#include "x_setup.sqf"

private ["_grp", "_gstate"];
PARAMS_2(_grp,_gstate);
_grp setVariable [QGVAR(gstate), _gstate];
if (GVAR(IS_HC_CLIENT)) then {
	[QGVAR(setgrps), _grp] call FUNC(NetCallEventCTS);
};